package com.sunshine.spring.aop.advice.before;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @Author: WeiHong
 * @Date: 2017/3/23 14:56
 */
public class HijackBeforeMethod implements MethodBeforeAdvice {
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("HijackBeforeMethod : Before method hijacked! ");
    }
}
